Welcome![Sign In][Sign Up]
Location:
Search - socket tcp

Search list

[Develop ToolsWSockExpert TCP通信数据分析程序

Description:

WSockExpert .exe TCP通信数据分析程序,可以截取分析所有通过Socket通信的数据内容,有字符串及十六进制模式。而且可以指定进程分析。


Platform: | Size: 260192 | Author: testsb | Hits:

[TCP/IP stackSOCKET-TCP

Description: SOCKET多线程,使用TCP连接,当有一个连接请求时候,建立一个线程。共有两个文件,一个Server,还有一个是Client-SOCKET multithreading, the use of TCP connections, when a link request, the establishment of a thread. A total of two documents, one Server, there is a Client
Platform: | Size: 24497 | Author: 的三分 | Hits:

[Other resourcesocket

Description: 为了测试winCE下的TCP的连接所写的东西,东西很主要实现的Socket,tcp传输.希望能大家有所收获!
Platform: | Size: 56646 | Author: yzx | Hits:

[WinSock-NDISsocket.tcp.ucp

Description: socket关于tcp协议 及ucp协议通信的例子程序-tcp socket on the agreement after agreement and communication procedures for example
Platform: | Size: 2201 | Author: 魏小 | Hits:

[WinSock-NDISTCP实现客户服务器聊天程序

Description:

 

操作系统课程设计任务书


一、设计题目:多机进程通信

应用Socket进程通信技术编写聊天室程序,实现基于服务器的并发多机信息转发。如果各客户端在线则可以实时聊天、发送接收文件,如果某客户端离线,则发送给他的消息可由服务器端进行内容缓存,待重新连线后可以自动接收通过服务器转发的信息或文件。缓存与转发的控制算法可参考操作系统课程中生产者消费者进程同步方法、缓冲池技术等相关理论。
二、设计思路和功能的详细描述
采用TCP协议,所以属于客户机/服务器模式,因此需要聊天服务器端和聊天客户端两个程序,实现的功能是:任意一台装有客户端程序的计算机都可以通过服务器端的IP地址与服务器相连,然后进入聊天室与连接到服务器的其他客户进行聊天。当客户聊天结束时,可以点断开与服务器断开连接,以释放进程让其他等待的客户进入聊天室,本聊天室最大同时支持50个客户端的连接,如果服务器配置较高可以修改程序来增加同时连接数。
三、采用的方法、技术、运行环境及其配置
本聊天程序采用TCP协议,用VC++编写,属于客户机/服务器模式。采用了多线程的机制。其中使用windows Sockets实现多台计算机(多个进程)间的通信,SOCKET实际在计算机中提供了一个通信端口,可以通过这个端口与任何一个具有SOCKET接口的计算机通信。应用程序在网络上传输,接收的信息都通过这个SOCKET接口来实现。客户机/服务器模式中客户应用程序向服务器程序请求服务。一个服务程序通常在一个众所周知的地址监听对服务的请求,也就是说,服务进程一直处于休眠状态,直到一个客户对这个服务的地址提出了连接请求。在这个时刻,服务程序被“惊醒”并且为客户提供服务即对客户的请求作出适当的反应。本聊天程序就是基于这中思想实现的,程序分为两大部分:TCP聊天服务器端和TCP聊天客户端。两者都拥有各自的SOCKET接口,其中服务器端SOCKET接口需要绑定到固定地址上(实现语句:ock=Socket(AF_INET,SOCK_STREAM,0);),等待客户端的连接(实现语句:listen(sock,5);)。等待客户端的连接的过程就是通过多进程机制来实现的。
聊天程序是在VISUAL C++6.0上编译实现的,在WINDOWS2000,XP上测试运行成功。
对客户计算机配置无特殊要求,由于所设置的最大连接进程为50,所以对服务器要求也不高。
四、关键源程序及其详细的注释
<一>、服务器端
1
、Socket初始化
//
初始化对话框
BOOL CCSocketDlg::OnInitDialog()
{

count=0;

m_list.InsertColumn(0,"消息");

m_list.SetColumnWidth(0,435);

m_edit.SetLimitText(99);

.

.

.

.

 


Platform: | Size: 55808 | Author: lenjear | Hits:

[TCP/IP stackSOCKET消息收发器

Description: 这是一个利用TCP,UDP收发消息的程序,可以用于调试其它的SOCKET程序是否可以正常的接收和发送SOCKET消息。
Platform: | Size: 47271 | Author: xiongzhend@21cn.com | Hits:

[Communication简单的TCP,UDP服务器,客户端(入门学习用)

Description: WIN API开发的基于SOCKET的简单TCP,UDP通信程序,对初学者使用SOCKET很有帮助
Platform: | Size: 35021 | Author: vivo01 | Hits:

[Internet-NetworkServer_Client_Sockets_TCPIP

Description: 本源码介绍了用C/S模式下进行网络编程。实现了socket编程。
Platform: | Size: 4563 | Author: ansioe@126.com | Hits:

[Network Developtcp/IP协议

Description: 详细介绍了TCP/IP的连接与终止过程,对了解socket编程有很大的帮助
Platform: | Size: 705406 | Author: 13817674957 | Hits:

[Communication用Socket实现TCP/IP协议的数据文件传输

Description: 用Socket实现TCP/IP协议的数据文件传输
Platform: | Size: 5493881 | Author: LenaPolaris | Hits:

[SourceCodesocket通信

Description: 自己写的socket通信程序,包括tcp和udp两种,测试可用。
Platform: | Size: 17898 | Author: luozhenghu@126.com | Hits:

[TCP/IP stackC#Socket控制台通信

Description: 基于控制台的Socket,TCP简易通信。仅供初学者学习,一起学习成长(Console based Socket, TCP simple communications. For beginners to learn, learn to grow together)
Platform: | Size: 72704 | Author: 大大王 | Hits:

[Internet-Network基于网络的Tcp通讯Server服务器端和Client客户端

Description: Windows编程基于Tcp通讯的 Server服务器端和 Client客户端,使用一台电脑启动 Server端,另一台电脑启动Client客户端 两端能够互相发送消息并能接收看到(Windows programming, based on Tcp communication Server server and Client client, using a computer to start the Server side, another computer starts Client client, both ends can send messages to each other, and can receive to see)
Platform: | Size: 5833728 | Author: 阳光小鹏 | Hits:

[Com Port套接字程序(TCP)+

Description: 套接字程序(TCP)+ VC MFC SOCKET TCP CLIENT SERVER 通讯(VC MFC SOCKET TCP CLIENT SERVER Commuincation)
Platform: | Size: 63995904 | Author: wxdgk | Hits:

[Internet-NetworkSocket TCP

Description: 使用C#编写TCP Socket,包括客户端和服务端,可同时运行进行测试(TCP Socket Demo By C#)
Platform: | Size: 240640 | Author: sunchao | Hits:

[OtherTCP UDP测试工具

Description: 这是一个调试软件,没有源码。只可安装后使用,调试tcp&udp非常好用,适合于TCP编程调试。(This is a debugging software, no source code. Can only use after installation, debugging tcp&udp is very easy to use, suitable for TCP programming and debugging.)
Platform: | Size: 1858560 | Author: 1mol | Hits:

[Internet-NetworkSocket编程

Description: socket 编程, 含有多个例子,有udp, tcp, qq等系统源码.(Socket programming, contains more than one example, there are UDP, TCP, QQ and other system source code)
Platform: | Size: 74752 | Author: aaaa2008 | Hits:

[Communication-MobileTCP端口扫描程序

Description: TCP端口扫描,内附源代码,欢迎下载,socket(TCP port scanning, internal source code, welcome to download, socket)
Platform: | Size: 44032 | Author: DSJ——J | Hits:

[TCP/IP stackTCP_IP socket编程

Description: 《TCP Sockets编程》通过循序渐进的方式,从最基础的概念到高级别的Ruby封装器,再到更复杂的应用,提供了开发成熟且功能强大的应用程序所必备的知识和技巧,帮助读者掌握在Ruby语言环境下,用套接字实现项目开发的任务和技术。   《TCP Sockets编程》适合对TCP套接字感兴趣的读者阅读。(TCP/IP Sockets in C: Practical Guide for Programmers, 2nd Edition is a quick and affordable way to gain the knowledge and skills needed to develop sophisticated and powerful web-based applications. The book's focused, tutorial-based approach enables the reader to master the tasks and techniques essential to virtually all client-server projects using sockets in C. This edition has been expanded to include new advancements such as support for IPv6 as well as detailed defensive programming strategies.)
Platform: | Size: 19015680 | Author: supramolecular | Hits:

[Streaming Mpeg4视频播放端

Description: 带socket TCP和UDP接口的视频播放器。监听socket TCP和UDP端口,可接收外部的控制指令。包括视频片源选择,播放,暂停,停止和音量等。用户可自已定义端口。播放器本身不带任何按钮,只能通过socket指令控制。 在我资源列表里,有控制端程序下载,可用于网络控制测试。(Video player with socket TCP and UDP interface. Monitor socket TCP and UDP ports and receive external control instructions. Including video source selection, playback, pause, stop and volume, etc. Users can define their own ports. The player itself has no buttons and can only be controlled by socket instructions.)
Platform: | Size: 20890624 | Author: 转角撞到头 | Hits:
« 1 2 3 45 6 7 8 9 10 ... 50 »

CodeBus www.codebus.net